package com.mango.data.structure.bitmap;

/**
 * @Author: mango
 * @Date: 2022/5/12 10:49 下午
 */
public class Test {
    public static void main(String[] args) {
        Bitmap bitmap = new Bitmap(101);
        System.out.println(bitmap.getBit(2));
        bitmap.bitOne(2);
        System.out.println(bitmap.getBit(2));
        bitmap.bitZero(2);
        System.out.println(bitmap.getBit(2));
        bitmap.bitOne(100);
        System.out.println(bitmap.getBit(100));
    }
}
